<?php
return array(
	'attributeLabels' => array(
	),
	
	'rules' => array(
		array('city, type', 'required'),
		array('city','coms.validators.content.CityUniqueValidator')
	),
	
	'relations' => array(
		'cityObj' => array(CActiveRecord::BELONGS_TO, 'CommonDistrict', 'city')
	),
	
	'attributeHints' => array(
		'city' => '最好选择到市级，以及三个字的城市名称',
	),
	
	'behaviors' => array(
		'parentSave' => array(
			'class' => 'coms.behaviors.content.CityParentAttrSave',
		),
	),

	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);